package com.example.demo.customer;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

import java.util.Collections;
import java.util.List;

@Repository
@Primary
public class CustomerRepository implements CustomRepo{
    @Override
    public List<Customer> getCustomers(){
        return (List<Customer>) Collections.singleton(
                new Customer(1L,"TODO","6666")
        );
    }
}
